package net.ojbk.study.curriculumDesign.service.cilentservicer;

import net.ojbk.study.curriculumDesign.beans.cilentservicer.Chat;
import net.ojbk.study.curriculumDesign.beans.cilentservicer.ServiceRecord;
import net.ojbk.study.curriculumDesign.beans.usermanage.User;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: twobox
 * Date: 2019/1/6
 * Time: 19:23
 * Description: 客户模块 下的 管理模块。主要有查看所有评分操作等。
 */
public interface ICustomerManaService {
    /**
     * 查询用户所有的被服务记录
     * @param user
     * @return1
     */
    public List<ServiceRecord> getAllSerRec(User user);

    /**
     * 用户的本次会话是否有新消息
     * @param chat 会话
     * @return
     */
    public boolean isHaveNewMsg(Chat chat) throws Exception;
}
